package com.woniu;


import com.woniu.entity.Parent;
import com.woniu.entity.Son;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.List;

//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
@SpringBootApplication
@MapperScan("com.woniu.mapper")
public class Main {
    public static void main(String[] args) {
        //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
        // to see how IntelliJ IDEA suggests fixing it.
        System.out.printf("Hello and welcome!");
         int num = 1;
         Long id = 10L;
         long vid = 10L;

         List<String> names = new ArrayList<>();
        names.add("a1");

        Parent patent = new Parent("水果","西瓜");

        Son son = new Son("水果", "香蕉", "红色");

        SpringApplication.run(Main.class,args );
    }



}